package com.dream.able;

import com.dream.pojo.SmallNews;
import com.dream.pojo.SmallNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmallNewsMapper {
    int countByExample(SmallNewsExample example);

    int deleteByExample(SmallNewsExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(SmallNews record);

    int insertSelective(SmallNews record);

    List<SmallNews> selectByExample(SmallNewsExample example);

    SmallNews selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") SmallNews record, @Param("example") SmallNewsExample example);

    int updateByExample(@Param("record") SmallNews record, @Param("example") SmallNewsExample example);

    int updateByPrimaryKeySelective(SmallNews record);

    int updateByPrimaryKey(SmallNews record);
}